<form role="search" method="get" id="searchform" action="<?php echo home_url(); ?>">
    <input type="text" name="s" id="search" value="<?php echo isset($_GET['s'])?$_GET['s']:__('Search','midway'); ?>" />
</form>